'''
数据驱动模型：
优点：数据和代码分离
缺点：已经不错了。但是，可以更高级
'''
from selenium import webdriver
from login_para import Login
from options import options

url = r'http://172.16.36.121/upload/'
username = 'admin'
password = 'sa'
driver = webdriver.Chrome(options=options)
driver.get(url)

login = Login(driver)
login.login(username, password)
login.logout()

driver.quit()
